/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*                                                                    *
*        ***************************************************         *
*        *©2021-2031 LINUO Corporation All rights reserved *         *
*        ***************************************************         *
*                                                                    *
* FileName    : vpss.h                                               *
*                                                                    *
* Author      : linus                                                *
*                                                                    *
* Email       : luoyaojun@sina.com                                   *
*                                                                    *
* Date        : 2024-3-27                                            *
*                                                                    *
* Description :                                                      *
*                                                                    *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#ifndef __ROCKCHIP_VPSS_H
#define __ROCKCHIP_VPSS_H
#include "h_vpss.h"
#include "rk_debug.h"
#include "rk_mpi_vpss.h"
#include "h_pthread.h"


struct rockchip_vpss_priv {

	char stChnPthreadName[PTHREAD_MAX_NAME];

	RK_S32 grp;

	RK_S32 chn;
	
//	ht_vpss_get_frame_cb user_cb;
	
	void *user;

	HT_S32 wait_time;
};

struct rockchip_vpss{

	struct rockchip_vpss_priv *vpss_priv[VPSS_MAX_GRP_NUM * VPSS_MAX_CHN_NUM];
	struct ht_vpss m_vpss;
	
	struct ht_pthread pthread;
};


#endif
